// 身份管理
import request from '@/router/axios'

//展示表格
export function identityObj(query) {
    return request({
        url: '/campus/identity/page',
        method: 'get',
        params:query
    })
}

//添加
export function idAddObj(obj) {
    return request({
        url: '/campus/identity',
        method: 'post',
        data: obj
    })
}

//删除
export function idDelObj(id) {
    return request({
        url: '/campus/identity/'+ id,
        method: 'delete'
    })
}




//分页
export function idPageObj(query) {
    return request({
        url: '/campus/identity/page',
        method: 'get',
        params: query
    })
}



